<template>
    <el-row>
        <el-col :span="6">
            <el-card class="box-card">
                <div slot="header" class="clearfix">
                     <span>信息统计</span>
                </div>
                <el-select v-model="functionalModule" placeholder="请选择">
                    <el-option
                        v-for="item in functionalModules"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                    >
                    </el-option>
                </el-select>
            </el-card>
        </el-col>
    </el-row>
    <el-row>
       <el-col :span="13">
         <el-card class="box-card-dataCollect">
             <div slot="header" class="clearfix">
                     <span>统计信息</span>
                </div>
            <!-- table 或者 饼状图 -->
         </el-card>
       </el-col>
       <el-col :span="11">
        <el-card class="box-card">
            <el-row>
                <el-col :span="12">
                    <el-button type="primary" style="margin-left:40px;" @click="jumpTable">列表</el-button>
                </el-col>
                <el-col :span="12">
                    <el-button type="primary" style="margin-left:40px;" @click="jumpDialog">流程图</el-button>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="24">
                    <router-view />
                </el-col>
            </el-row>
        </el-card>
        <el-row>
            <el-col :span="24">

            </el-col>
        </el-row>
       </el-col>
    </el-row>
</template>

<script lang="ts" setup>
import axios from "axios";
import {useRouter} from 'vue-router'
import { computed, defineComponent, ref,watch } from "vue";

const router = useRouter();

function jumpTable(){
    router.push("/performance/information/information-table");
}

function jumpDialog(){
    router.push("/performance/information/information-dialog")
}

</script>

<style scoped lang="scss">
   .box-card-dataCollect{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0px;
    background-color: rgb(26, 68, 94);
    border-width: 0;
    color: rgb(245, 245, 245);
  }

  .box-card {
  margin-bottom: 20px;
  background-color: rgb(26, 68, 94);
  color: rgb(245, 245, 245);
  border-width: 0;
}
</style>